#include <Square.h>


Square::Square(Unit32 edging): edging_m(edging)
{}

void Square::setEdging(Unit32 edging)
{
    edging_m = edging;
}

Unit32 Square::calcPerimeter(void) const
{
	return 4*edging_m;
}

Unit32 Square::calcArea(void) const
{
	return edging_m*edging_m;
}
